WP_Defender\Component\Config\Config_Hub_Helper S

Total Complexity 46
Dependencies 2
Dependents 1
Total lines 390
Lines of code 212
Logical lines of code 115
Comment lines 104
Methods 14
Properties 1

Methods 14

Method Rating Maintainability Complexity Lines of code
prepare_hub_configs_response()
A
50 8 30
check_and_save_configs_to_hub()
S
58 5 16
insert_to_hub()
S
52 4 28
clear_config_transient()
S
62 5 11
fetch_current_configs()
S
53 4 23
update_on_hub()
S
54 4 22
delete_configs_from_hub()
S
56 4 18
send_request()
S
59 2 16
get_configs()
S
62 2 11
last_transient_clear_time_diff()
S
68 2 7
delete_hub_removed_configs()
S
72 2 6
get_fresh_frontend_configs()
S
66 2 8
add_configs_to_hub()
S
68 1 7
format_hub_config_to_save()
S
65 1 9